import _00GraphFuc as gf
import _000GraphBasicProblem as gb

#11.2.3绘制哈密顿图
V1={'x0','x1','x2','x3','x4','x5'}
V2={'y0','y1','y2','y3','y4','y5'}
V=V1|V2
E={('x0','x1'),('x1','x2'),('x2','x3'),('x3','x4'),('x4','x5'),('x5','x0'),('y0',
'y1'),('y1','y2'),('y2','y3'),('y3','y4'),('y4','y5'),('y5','y0'),('x0','y0'),
('x1','y1'),('x2','y2'),('x3','y3'),('x4','y4'),('x5','y5')}
gf.drawgraph(E)